﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Entitys.Inv
{
    /// <summary>
    /// 其他出库单
    /// </summary>
    public class Inv_othoutord
    {
        [Key]
        public int Othoutord_id { get; set; }

        public string Othoutord_type { get; set; }

        public string Othoutord_code { get; set; }

        public string Othoutord_wkeep { get; set; }

        public DateTime? Othoutord_time { get; set; }

        public int Othoutord_status { get; set; }




        public string Warehouse_code { get; set; }

        public string Warehouse_name { get; set; }

        public string Zone_code { get; set; }

        public string Zone_name { get; set; }


        public string Create_by { get; set; }

        public DateTime? Create_time { get; set; }

        public string Update_by { get; set; }

        public DateTime? Update_time { get; set; }

        public char Del_flag { get; set; }
        //关联单号
        public string othoutord_code_Associated { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public string Othoutord_audit_statua { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string Othoutord_audit_by { get; set; }

        /// <summary>
        /// 审核备注
        /// </summary>
        public string Othoutord_audit_opinion { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? Othoutord_audit_time { get; set; }

        // 导航属性：明细
        public ICollection<Inv_othproddetails> Details { get; set; }
    }
}
